<template>
	<div class="check-button">
		<img src="~assets/img/cart/tick.svg" :class="{check: isChecked}" alt="">
	</div>
</template>

<script>
	export default{
		name: "CheckButton",
		props: {
			isChecked: {
				type: Boolean,
				default: false 
			},
		},
	}
</script>

<style>
	.check-button img{
		border-radius: 50%;
		border: 1px solid #c0c0c0;
		
	}
	
	.check {
		border: 1px solid var(--color-tint);
		background-color: var(--color-tint);
	}
</style>
